<?php

include 'dbadapter.php';

class workwithdb extends dbadapter {

    public function CreateConnection($adapter, $host, $username, $password, $dbname) {
        $this->setConfig($adapter, $host);
        $this->connect($username, $password, $dbname);
    }
    
    public function CloseConnection() {
        $this->disconnect();
    }
}
